package com.yuke.cloud.service.omc.service;

import com.yuke.cloud.common.core.support.IService;
import com.yuke.cloud.service.omc.dto.OdsAwardRecordDto;
import com.yuke.cloud.service.omc.dto.OrderBasicDto;
import com.yuke.cloud.service.omc.dto.OrderGoodsDto;
import com.yuke.cloud.service.omc.entity.OdsAwardRecord;
import com.yuke.cloud.service.omc.entity.OdsOrder;

import java.util.List;


/**
 * Created by zn on 2020/10/17.
 */
public interface OdsAwardRecordService extends IService<OdsAwardRecord> {
    List<OdsAwardRecordDto> selectAwardRecordByCondition(OdsAwardRecord odsAwardRecord);
    List<OdsAwardRecordDto> getExtraInfo(List<OdsAwardRecordDto> odsAwardRecordList);
    int saveRecord(OdsAwardRecord odsAwardRecord);
    List<OrderGoodsDto> getAwardRecordList(OrderBasicDto orderBasicDto);
    void rebackAwardRecord(OdsOrder odsOrder);
    void sendAwardRecord(Long orderId);
}
